package com.zx.mes.coolmq.hyl.util;

import java.io.Serializable;

/**
 * 常量类
 * @author hyl
 * @date 2018-3-19
 */
public class RabbitMetaMessage implements Serializable{
    private String exchange;
    private String routingKey;
    private boolean autoTrigger;
    private boolean returnCallback;
    private Object payload;

    public String getExchange() {
        return exchange;
    }

    public void setExchange(String exchange) {
        this.exchange = exchange;
    }

    public String getRoutingKey() {
        return routingKey;
    }

    public void setRoutingKey(String routingKey) {
        this.routingKey = routingKey;
    }

    public boolean isAutoTrigger() {
        return autoTrigger;
    }

    public void setAutoTrigger(boolean autoTrigger) {
        this.autoTrigger = autoTrigger;
    }

    public boolean isReturnCallback() {
        return returnCallback;
    }

    public void setReturnCallback(boolean returnCallback) {
        this.returnCallback = returnCallback;
    }

    public Object getPayload() {
        return payload;
    }

    public void setPayload(Object payload) {
        this.payload = payload;
    }
}
